import request from '@/utils/request'

// 查询客户列表
export function listCustomer(query) {
  return request.get('/license/customer/list', query)
}

// 查询客户详细
export function getCustomer(data) {
  return request.get('/license/customer/detail', data)
}

// 新增客户
export function addCustomer(data) {
  return request.post('/license/customer/create', data)
}

// 修改客户
export function updateCustomer(data) {
  return request.post('/license/customer/update', data)
}

// 删除客户
export function delCustomer(data) {
  return request.post('/license/customer/delete', data)
}

// 导出客户
export function exportCustomer(query) {
  return request.get('/license/customer/export', query)
}

